package com.weiqiao.mall.util;

import java.util.HashMap;
import java.util.Map;

/**
 * 返回结果包装
 */
public class ReturnMapUtil {

    public static Map returnMap(Boolean result, String content) {
        Map map = new HashMap<String,Object>(2);
        map.put("result", result);
        map.put("content", content);
        return map;
    }
}
